* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-color: #1c0522;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
}

header .logo {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
}

header ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  list-style: none;
  margin-left: 20px;
}

header ul li a {
  text-decoration: none;
  font-weight: 600;
  padding: 6px 15px;
  color: #fff;
  border-radius: 20px;
}

header ul li a:hover,
header ul li a.active {
  background: #fff;
  color: #2b1055;
}

.container {
  display: flex;
  width: 70%;
  overflow: hidden;
  top: 90px;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
}

.container div {
  white-space: nowrap;
  animation: animate var(--t) linear infinite;
}

.container div:nth-child(2) {
  animation: animate2 var(--t) linear infinite;
  animation-delay: calc(var(--t)/-2);
}

@keyframes animate {
  from {
    transform: translate(100%);
  }

  to {
    transform: translate(-100%);
  }
}

@keyframes animate2 {
  from {
    transform: translate(0);
  }

  to {
    transform: translate(-200%);
  }
}

.container div span {
  display: inline-flex;
  margin: 10px;
  letter-spacing: .2em;
  background-color: #413f3f;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Fraunces', serif;
  padding: 5px 10px;
  border-radius: 5px;
}

.main {
  display: flex;
  width: 70%;
  overflow: hidden;
  top: 80px;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
}

.main div span {
  display: inline-flex;
  margin: 10px;
  letter-spacing: .2em;
  color: #0b6bc6;
  font-size: 3em;
  font-weight: 800;
  font-family: '华文中宋', serif;
  padding: 5px 10px;
  border-radius: 5px;
}

.main div {
  white-space: nowrap;
  animation: animate var(--t) linear infinite;
}

.main div:nth-child(2) {
  animation: animate2 var(--t) linear infinite;
  animation-delay: calc(var(--t)/-2);
}

@keyframes animate {
  from {
    transform: translate(100%);
  }

  to {
    transform: translate(-100%);
  }
}

@keyframes animate2 {
  from {
    transform: translate(0);
  }

  to {
    transform: translate(-200%);
  }
}

.mian-conten {
  margin-top: 20px;
  display: inline-block;
}

.card {
  width: 1100px;
  height: 670px;
  background: #24052c;
  border-radius: 20px;
  box-shadow: 0 10px 100px rgba(0, 0, 0, 0.5);
  margin-top: 130px;
  position: relative;
  border: 2px #fff solid;
}

.slide {
  position: absolute;
  top: 620px;
  left: 70px;
  width: 900px;
  text-align: center;
}

.slide label {
  display: inline-block;
  width: 100px;
  height: 20px;
  background: rgb(192, 188, 188);
  border-radius: 10px;
  margin: 0 5px;
}

.slide label::before {
  content: '';
  width: -100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: cornsilk;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s;
}

.content {
  height: 320px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 25px;
}

.pic {
  width: 430px;
  height: 510px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(152, 144, 144, 0.2);
  overflow: hidden;
  position: relative;
  top: 120px;
  left: 20px;
}

.pic img {
  display: block;
  width: 100%;
  height: 100%;
}

.text {
  width: 400px;
  padding-left: 60px;
  margin-left: 60px;
  margin-top: 200px;
}

.text .tit {
  font-size: 40px;
  color: rgb(248, 244, 248);
  font-weight: 700px;
  margin-bottom: 20px;
}

.text .info {
  font-size: 16px;
  font-weight: 600;
  font-family: '宋体',serif;
  color: #f0eefe;
  margin-bottom: 20px;
  line-height: 1.5em;
  text-align: justify;
  font-weight: 900px;
}

.text .btn {
  border: 0;
  outline: 0;
  padding: 15px 20px;
  border-radius: 50px;
  letter-spacing: 2px;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  background: rgb(44, 42, 42);
  position: relative;
  top: 40px;
  left: 160px;
}

.text .btn:hover {
  background: #cecece;
  color: #000;
}

.pic img,
.text {
  opacity: 0;
  transition: 0.6s;
}

#silde-1:checked~.slide .slide-btn-1::before,
#silde-2:checked~.slide .slide-btn-2::before,
#silde-3:checked~.slide .slide-btn-3::before,
#silde-4:checked~.slide .slide-btn-4::before {
  width: 100%;
  transform: scaleX(1);
}

#slide-1:checked~.content .img-1,
#slide-2:checked~.content .img-2,
#slide-3:checked~.content .img-3,
#slide-4:checked~.content .img-4 {
  opacity: 1;
  transition-delay: 0.2s;
}

#slide-1:checked~.content .text-1,
#slide-2:checked~.content .text-2,
#slide-3:checked~.content .text-3,
#slide-4:checked~.content .text-4 {
  opacity: 1;
  z-index: 100;
  transition-delay: 0.3s;
}
.footer{
  width: 100%;
  height: 200px;
}